<template>
    <div>
        <h1>子组件的数据</h1>
        <h2>数字：{{ props.count }}</h2>
        <h2>消息：{{ props.message }}</h2>
    </div>
</template>

<script setup>
import { defineProps } from 'vue';

const props = defineProps({
    count: Number,
    message: String
});
</script>